package com.fm.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Transient;

/**
 * 产品
 * Created by Administrator on 2018/7/30 0030.
 */
@Entity(name = "ul_rule_destination")
@NoArgsConstructor
@AllArgsConstructor
@Data
public class RuleDestination extends AbstractMyBatisEntity{
    /**
     *
     */
    @Id
    @GeneratedValue
    private Integer id;

    private Integer ruleId;

    private Integer productId;

    private Integer equipmentId;

    private Integer topicId;

    private Integer type;//类型1转发到Topic，2回调

    private String value;//转发的条件

    @Transient
    private String topic;
}
